package com.chenl.provider.DEMOS.Mysql.sql注入器;

class Rock {
    Rock () {
        System.out.println("Creating Rock");
    }
    Rock(int i) {
        System.out.println("Creating Rock number " + i);
    }
}
public class SimpleConstructor {
    public static void main(String[] args) {
        for(int i = 0; i < 3; i++)
        if(i==2)
        new Rock(i);
else
        new Rock();
    }
}